Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Print templates not transferring to GUI/PC -- ^M line feed characters

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    We made changes to the hold-request-slip-00.xsl. I then ran UTIL I/6.

    The new form hold-request-slip-00.xsl doesn't seem to load to PCs, and its absence is creating errors in CIRC. I manually copied the xsl file to a CIRC PC and everything worked fine.

    What's happening here? Why won't the packages load?

    Resolution:
    When I look at the hold-request-slip-00.xsl lines within the html.pck which util i/6 generates, I see the following:

    PKC_FILE_BEGIN hold-request-slip-00.xsl
    <xsl:stylesheet^M
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">^M
    <xsl:include href="funcs.xsl"/>^M
    <xsl:template match="/">^M
    <xsl:call-template name="header"/>^M
    ^M
    <etc.>

    I think that these "^M" ASCII line-feed characters should *not* be included in the file. It seems that in placing this file on the server you did not specify that it was an ASCII file. As described in KB 16384-1537, you need to either re-ftp, specifying ASCII, or use the dos2unix command -- and then re-run util i/6.


    • Article last edited: 10/8/2013